body {
  padding: 0;
}

#app {
  width: calc(100vw - 32px);
  margin-left: 16px;
  margin-bottom: 16px;
  margin-top: 1px;
}

.form-row {
  display: flex;
  white-space: nowrap;
  line-height: 18px;
  margin-bottom: 4px;
}
.form-field {
  min-width: 50px;
  padding-right: 10px;
}
.form-controll {
  flex: 1;
}
.form-btns {
  margin: 8px 0;
}

select {
  width: 100%;

  background: var(--vscode-dropdown-background);
  border: var(--vscode-dropdown-border);
  color: var(--vscode-dropdown-foreground);
}
option {
  color: var(--vscode-dropdown-foreground);
  background: var(--vscode-editor-background);
}
button {
  background: var(--vscode-button-background);
  color: var(--vscode-button-foreground);
  border: var(--vscode-button-border);
  cursor: pointer;
  line-height: 22px;
  width: 100%;
}
button:hover {
  background: var(--vscode-button-hoverBackground);
}
button:disabled {
  cursor: default;
  background: var(--vscode-button-background);
  opacity: 0.4;
}
input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0 4px;

  background: var(--vscode-input-background);
  border: var(--vscode-input-border);
  color: var(--vscode-input-foreground);
}
input::placeholder {
  color: var(--vscode-input-placeholderForeground);
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
li {
  display: flex;
  line-height: 1.4em;
  cursor: pointer;
}
li .filePath {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
li .filePath .highlight {
  background: var(--vscode-editor-findMatchHighlightBackground);
}
li .linesNum {
  flex: 0;
  opacity: 0.5;
  white-space: nowrap;
  user-select: none;
}
li .linesNum--a {
  color: var(--vscode-gitDecoration-addedResourceForeground);
}
li .linesNum--r {
  color: var(--vscode-gitDecoration-deletedResourceForeground);
}
li .actionFlag {
  width: 1.2em;
  text-align: center;
  user-select: none;
}
li .actionFlag--A {
  color: var(--vscode-gitDecoration-addedResourceForeground);
}
li .actionFlag--M {
  color: var(--vscode-gitDecoration-modifiedResourceForeground);
}
li .actionFlag--D {
  color: var(--vscode-gitDecoration-deletedResourceForeground);
}
li .actionFlag--R {
  color: var(--vscode-gitDecoration-renamedResourceForeground);
}
li:hover,
li.hover {
  background: var(--vscode-list-hoverBackground);
  color: var(--vscode-list-hoverForeground);
}
li:active,
li.active {
  background: var(--vscode-list-activeSelectionBackground);
  color: var(--vscode-list-activeSelectionForeground);
}

.filters {
  margin: 8px 0;
}

.InputSelect {
  position: relative;
  background: var(--vscode-dropdown-background);
  color: var(--vscode-dropdown-foreground);
  display: flex;
  align-items: center;
}
.InputSelect > input {
  height: 100%;
  padding-right: 16px;
}
.InputSelect-options {
  position: absolute;
  z-index: 1;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  max-height: 360px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--vscode-editor-background);
  border: 1px solid var(--vscode-dropdown-border);
  box-sizing: border-box;
  user-select: none;
}
.InputSelect-item {
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 4px;
}
.InputSelect-item:hover,
.InputSelect-item.selected {
  background: var(--vscode-list-hoverBackground);
  color: var(--vscode-list-hoverForeground);
}
.InputSelect-item.active {
  background: var(--vscode-list-activeSelectionBackground);
  color: var(--vscode-list-activeSelectionForeground);
}
.InputSelect-item .highlight {
  background: var(--vscode-editor-findMatchHighlightBackground);
}
.InputSelect-clear {
  position: absolute;
  right: 0;
  cursor: pointer;
}
